From: Kim F. Storm Date: Sat, 7 Feb 2004 01:03:03 +0000 (+0000) Subject: Add line-number-at-pos. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~24234 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=fa205d0bb45c4feaea144a0ca5aef638230e81be;p=emacs.git Add line-number-at-pos. --- diff --git a/etc/NEWS b/etc/NEWS index f2d912d2930..51088494f00 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1802,6 +1802,11 @@ configuration files. * Lisp Changes in Emacs 21.4 ++++ +** New function `line-number-at-pos' returns line number of current +line in current buffer, or if optional buffer position is given, line +number of corresponding line in current buffer. + ** The default value of `sentence-end' is now defined using the new variable `sentence-end-without-space' which contains such characters that end a sentence without following spaces.